<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/html" xml:lang="en" lang="en">
<head>
    <?php require'./phpScripts/ifLoggedIn.php' ?>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <meta name="description" content="" />
    <meta name="keywords" content="" />
    <meta name="author" content="" />
    <link rel="stylesheet" type="text/css" href="./Styles/style.css" media="screen" />
    <title>Student Survey</title>
</head>
<body>
    <div class="wrapper">
        <?php include('./includes/header.php'); ?>
        <?php include('./includes/nav.php'); ?>
<div class="content">
<!-- Make changes to content in this area -->
<!-- include AJAX Framework -->
    <script src="./javascript/ajax_framework.js" language="javascript"></script>
    <h3>Register New User</h3>
    <div id="register_validation"></div>
    <form name="registration_form" action="./phpScripts/registerUser.php" method="post">
        <div class="error" id="email_error"></div>
        <div>e-mail<input name="email" type="text" id="email"/></div>
        <div class="error" id="fName_error"></div>
        <div>First Name<input name="fName" type="text" id="fName"/></div>
        <div class="error" id="lName_error"></div>
        <div>Last Name<input name="lName" type="text" id="lName"/></div>
        <div class="error" id="uType_error"></div>
        <div>User Type
        <input type="radio" name="uType" id="professorType" value=1 /> Student<br />
        <input type="radio" name="uType" id="studentType" value=2 /> Professor</div>
        <div class="error" id="password_error"></div>
        <div>Password<input name="pass1" type="password" id="pass1"/></div>
        <div>Verify<input name="pass2" type="password" id="pass2"/></div>
                
        <input type="button" name="button" value="Register" onClick="register(this.form)"/> 
    </form>
<!-- End area for making changes -->
</div><!-- end .content -->
    <?php include('./includes/footer.php'); ?>
    </div><!-- end .wrapper -->
</body>
</html>
